﻿<Window
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:igCA="http://infragistics.com/Chart"
    xmlns:cc="clr-namespace:CCSManager"
    x:Class="CCSManager.Login"
    x:Name="LoginWindow"
    Title="Client Cloud Services"
    Width="1280" Height="750" SnapsToDevicePixels="True" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" Background="{DynamicResource BG_bronze}" Foreground="#FF869548" MaxWidth="1280" MaxHeight="750" MinWidth="1280" MinHeight="750">
    <Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>
    <Grid x:Name="LayoutRoot">
        <StackPanel Margin="0,0,0,0">
            <Grid Style="{DynamicResource TitleBarBG}" Height="35" Margin="0,46,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="330"/>
                    <ColumnDefinition Width="50"/>
                </Grid.ColumnDefinitions>
                <TextBlock Style="{DynamicResource TitleBarText}" Text="CCS Manager" FontFamily="Segoe" FontWeight="Light" Margin="50,-2,0,0" VerticalAlignment="Center" />
                <StackPanel Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Right">
                    <Canvas Width="24" Height="24" Background="{DynamicResource StatusOK}" VerticalAlignment="Top" Margin="0,4,10,0" />
                    <TextBlock Style="{DynamicResource NavBarText}" Margin="0,0,0,0" Foreground="#7FFFFFFF" >Server Status -</TextBlock>
                    <TextBlock Style="{DynamicResource NavBarText}" Margin="6,0,0,0" Foreground="#FF9FD05E" FontWeight="Bold" ><Run Foreground="#FF98E434" Text="Running"/></TextBlock>
                    <Border BorderThickness="1,0,0,0" Margin="20,0,0,0" Padding="20,0,0,0">
                        <Border.BorderBrush>
                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                <GradientStop Color="#7FFFFFFF" Offset="0.2"/>
                                <GradientStop Color="#00FFFFFF" Offset="1"/>
                                <GradientStop Color="#00FFFFFF" Offset="0"/>
                                <GradientStop Color="#7FFFFFFF" Offset="0.8"/>
                            </LinearGradientBrush>
                        </Border.BorderBrush>
                        <TextBlock Style="{DynamicResource NavBarText}" Margin="0,0,0,0"  VerticalAlignment="Center">Azure Account</TextBlock>
                    </Border>
                </StackPanel>
            </Grid>
        </StackPanel>
        <Border BorderBrush="Black" BorderThickness="1" Width="300" Margin="0,0,0,0" Padding="20" Height="480" CornerRadius="10" VerticalAlignment="Center">
            <Border.Background>
                <SolidColorBrush Opacity=".2" Color="White"></SolidColorBrush>
            </Border.Background>
            <StackPanel HorizontalAlignment="Left" VerticalAlignment="Top" Width="255">
                <Label FontWeight="Bold" FontSize="13">Login to CCS Manager</Label>
                <Label>User Name</Label>
                <TextBox Height="23" Name="UserNameText" />
                <Label>Password</Label>
                <PasswordBox Height="23" Name="PasswordText" />
                <Button Style="{DynamicResource SimpleButton}" Height="23" Name="LoginButton" Width="75" Margin="0,10,0,0" HorizontalAlignment="Left" Click="LoginButton_Click">_Login</Button>

                <Label FontWeight="Bold" Margin="0,20,0,0" FontSize="13">Create a New Developer Account</Label>
                <Label>E-mail Address</Label>
                <TextBox Height="23" Name="NewEmailText" />
                <Label>User Name</Label>
                <TextBox Height="23" Name="NewUserNameText" />
                <Label>Password</Label>
                <PasswordBox Height="23" Name="NewPasswordText" />
                <Label>Confirm Password</Label>
                <PasswordBox Height="23" Name="ConfirmNewPasswordText" />
                <Button Style="{DynamicResource SimpleButton}" Height="23" Name="CreateAccountButton" Width="75" Margin="0,10,0,0" HorizontalAlignment="Left" Click="CreateAccountButton_Click">_Create</Button>
            </StackPanel>
        </Border>
    </Grid>
</Window>